package com.strongwell.awe.service;

import com.strongwell.awe.model.CmsLinkEntity;

import java.util.List;
import java.util.Map;

/**
 * 友情链接
 * 
 * @author bridgezn
 * @email 39440421@qq.com
 * @date 2018-09-12 22:15:36
 */
public interface CmsLinkService {
	
	CmsLinkEntity queryObject(Long id);
	
	List<CmsLinkEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(CmsLinkEntity cmsLink);
	
	int update(CmsLinkEntity cmsLink);
	
	int delete(Long id);
	
	int deleteBatch(Long[] ids);

    int delById(Long id);

    int delPatch(String cmslinkstr);

	CmsLinkEntity queryName(String name);
}
